package code.xiaohh.cloudalibaba.common.entities.order;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.*;
import lombok.experimental.Accessors;

/**
 * 订单表
 *
 * @author XiaoHH
 * @email 1431984546@qq.com
 * @date 2021-04-10 15:47:45
 */
@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("`order`")
public class OrderEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 订单表id
     */
    @TableId(type = IdType.AUTO)
    private Long orderId;
    /**
     * 订单号
     */
    private String orderNumber;

}
